package com.gxa.service.investment;

import com.github.pagehelper.PageInfo;
import com.gxa.dto.investmentDto.CompanyDto;
import com.gxa.entity.investment.Company;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 企业表 服务类
 * </p>
 *
 * @author yjl
 * @since 2022-10-16 11:39:46
 */
public interface CompanyService extends IService<Company> {
    int add(Company company);
    int delete(Integer id);
    Company queryById(Integer id);
    List<Company> seletAll();
    int update(Company company);
    PageInfo<Company> queryByCompanyDto(CompanyDto companyDto,Integer pageNum, Integer pageSize);
}
